﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProjectUserPaperList.aspx.cs"
    Inherits="sysadmin_PaperManager_ProjectUserPaperList" %>
    
        <%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body class="bodymain">
    <form id="form1" runat="server">
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="titbg_right">
            <tr>
                <td class="titbg_left">
                    <asp:Label ID="lbl_InfoTitle" runat="server" Text="培训试卷管理"></asp:Label></td>
            </tr>
        </table>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="btnbg" width="100%">
            <tr>
                <th>
                    <asp:Label ID="lab_ProjectName" runat="server" Text="学生姓名"></asp:Label></th>
                <td>
                    <asp:TextBox ID="txt_UserName" runat="server"></asp:TextBox>
                    <asp:Button ID="btnSearch" runat="server" CssClass="inputBotton2" Text=" 搜 索 " OnClick="btnSearch_Click" /></td>
            </tr>
        </table>
        <asp:Repeater ID="rpt_ProjectList" runat="server" OnItemCommand="rpt_ProjectList_ItemCommand" OnItemDataBound="rpt_ProjectList_ItemDataBound">
            <HeaderTemplate>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainList">
                    <tr>
                        <th>
                            学生姓名
                        </th>
                        <th>
                            批阅状态
                        </th>
                        <th>
                            得分
                        </th>
                        <th>
                            提交时间
                        </th>
                        <th>
                            阅卷时间
                        </th>
                        <th>
                            操作
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                     <%#Eval("UserName")%>
                        &nbsp;
                    </td>
                    <td>
                     <%#Eval("StateName")%>
                        &nbsp;
                    </td>
                    <td>
                     <%#Eval("UPHistoryScore")%>
                        &nbsp;
                    </td>
                    <td>
                     <%#Eval("UPHistorySubmitTime")%>
                        &nbsp;
                    </td>
                    <td>
                     <%#Eval("UPHistoryReadTime")%>
                        &nbsp;
                    </td>
                    <td>
                    <asp:Label ID="lab_ReadState" runat="server"  Visible="false" Text='<%#Eval("UPHistoryReadState")%>'></asp:Label>
                      <asp:LinkButton ID="btn_see" CommandName="btn_see" CommandArgument='<%#Eval("url")%>' runat="server">查看</asp:LinkButton>
                      <asp:LinkButton ID="btn_read" CommandName="btn_read" CommandArgument='<%#Eval("url")%>' runat="server">阅卷</asp:LinkButton>
                      <asp:LinkButton ID="btn_edit" CommandName="btn_edit" CommandArgument='<%#Eval("url")%>' runat="server">修改</asp:LinkButton>
                    </td>
                   
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
                 <table width="100%" border="0" cellpadding="0" cellspacing="0" >
            <tr>
                <td  align="center">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" HorizontalAlign="Center"
                        OnPageChanged="AspNetPager1_PageChanged" ShowCustomInfoSection="Left" Width="100%"
                        meta:resourceKey="AspNetPager1" Style="font-size: 14px" InputBoxStyle="width:19px"
                        CustomInfoHTML="当前页  <font color='red'><b>%CurrentPageIndex%</b></font> 总页数  %PageCount%  当前条数 %StartRecordIndex%-%EndRecordIndex%" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
                    </webdiyer:AspNetPager>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
